Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix create commit status #30225

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

lunny
Copy link
Member

@lunny lunny commented Apr 1, 2024

Partially backport #30223

This PR uses the service layer CreateCommitstatus method instead of the git model method.

@lunny lunny added the type/bug label Apr 1, 2024
@lunny lunny added this to the 1.22.0 milestone Apr 1, 2024
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 1, 2024
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 1, 2024
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Apr 1, 2024
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 1, 2024
@wxiaoguang
Copy link
Contributor

I think it should have a proper fix in 1.23 first, then backport.

The complete fix #30223 has a migration, I think it should wait till 1.22 stable gets released.

@lunny lunny added the backport/v1.21 This PR should be backported to Gitea 1.21 label Apr 8, 2024
@GiteaBot GiteaBot removed the backport/v1.21 This PR should be backported to Gitea 1.21 label Apr 8, 2024
@lunny
Copy link
Member Author

lunny commented Apr 8, 2024

I think it should have a proper fix in 1.23 first, then backport.

The complete fix #30223 has a migration, I think it should wait till 1.22 stable gets released.

This is in fact unrelated to that PR. This PR fixed a bug but the aim of that PR is improving the performance.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 8, 2024
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Apr 8, 2024
@lunny lunny enabled auto-merge (squash) April 8, 2024 12:50
@lunny lunny merged commit d8505a9 into go-gitea:release/v1.22 Apr 8, 2024
26 checks passed
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Apr 8, 2024
@lunny lunny deleted the lunny/fix_create_commit_status branch April 8, 2024 15:29
@lunny lunny added the backport/v1.21 This PR should be backported to Gitea 1.21 label Apr 8, 2024
@GiteaBot GiteaBot removed the backport/v1.21 This PR should be backported to Gitea 1.21 label Apr 8, 2024
lunny added a commit to lunny/gitea that referenced this pull request Apr 8, 2024
Partially backport go-gitea#30223

This PR uses the service layer `CreateCommitstatus` method instead of
the git model method.
lafriks pushed a commit that referenced this pull request Apr 8, 2024
Partially backport #30223

This PR uses the service layer `CreateCommitstatus` method instead of
the git model method.
DennisRasey pushed a commit to DennisRasey/forgejo that referenced this pull request Apr 15, 2024
DennisRasey pushed a commit to DennisRasey/forgejo that referenced this pull request Apr 15, 2024
DennisRasey pushed a commit to DennisRasey/forgejo that referenced this pull request Apr 15, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jul 7, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants